package com.atguigu.tingshu.order.service;

import com.atguigu.tingshu.model.order.OrderInfo;
import com.atguigu.tingshu.vo.order.OrderInfoVo;
import com.atguigu.tingshu.vo.order.TradeVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

public interface OrderInfoService extends IService<OrderInfo> {


    OrderInfoVo tradeOrderData(Long userId, TradeVo tradeVo);

    Map<String, String> submitOrder(OrderInfoVo orderInfoVo);

    void updateCancelOrder(String orderNo);

    Page<OrderInfo> findUserPage(Page<OrderInfo> page);

    OrderInfo getOrderInfo(String orderNo);

    void orderPaySuccess(String orderNo);
}
